package com.simple.portal.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.portal.bo.IApplicationApplyBO;
import com.simple.portal.dao.IApplicationApplyDAO;
import com.simple.portal.vo.ApplicationApplyVO;

@Service("applicationApplyBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class ApplicationApplyBOImpl implements IApplicationApplyBO {

	@Autowired
	private IApplicationApplyDAO applicationApplyDAO;
	@Override
	public ApplicationApplyVO findById(String id) {
		return applicationApplyDAO.findById(id);
	}

	@Override
	public List<ApplicationApplyVO> findAll() {
		return applicationApplyDAO.findAll();
	}

}
